package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.mbd.api.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Comment("订单拆分")
@Getter
@Setter
@TableName("tb_reverse_order")
public class ReverseOrder extends BaseEntity {

    @Comment("父订单ID")
    private Integer parentId;

    @Comment("订单ID")
    private Integer orderId;

    @Comment("包顺序")
    private Integer splitNum;

    @Comment("交付日期")
    private LocalDate deliveryDate;

    @Comment("订单号")
    private String orderCode;

    @Comment("订单数量")
    private Integer orderQty;

    @Comment("下单日期")
    private LocalDateTime orderDateTime;

    @Comment("计划开始时间")
    private LocalDateTime planStartDateTime;

    @Comment("计划结束时间")
    private LocalDateTime planEndDateTime;

    @Comment("是否移入排产 1未移入 2移入")
    private Integer moveFlag;

}
